<!DOCTYPE html>
<html xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="~{common/admin-list-template}">
<head>
<title>文章管理</title>
	<link rel="styleSheet" href="/bower_components/layer/theme/default/layer.css">
</head>
<body class="hold-transition skin-green-light  sidebar-mini">

	<div class="content-wrapper" layout:fragment="content">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>文章管理</h1>
		</section>
		<!-- Main content -->
		<section class="content container-fluid">
			<!-- list box -->
			<div class="page-list box box-default" data-widget="box-widget">
				<div class="box-header">
					<form id="form-search" class="form-inline" method="post">
						<div class="form-group">
							<input class="form-control date-picker" name="startDate" type="text" data-date-format="yyyy-mm-dd" readonly="readonly" placeholder="开始日期" title="开始日期" />
						</div>
						<div class="form-group">
							<input class="form-control date-picker" name="endDate" type="text" data-date-format="yyyy-mm-dd" readonly="readonly" placeholder="开始日期" title="开始日期" />
						</div>
						<div class="form-group">
							<select class=" form-control " name="select" style="width: 100%">
								<option>Mustard</option>
								<option>Ketchup</option>
								<option>Relish</option>
							</select>
						</div>

						<a securitys:list class="form-control btn btn-default" onclick="operate.search();" title="查询">
							<i class=" fa fa-search"></i>
							查询
						</a>
						<a securitys:exportExcel class="form-control btn btn-default" onclick="operate.exportExcel();">
							<i class="fa fa-file-excel-o" aria-hidden="true"></i>
							导出
						</a>
					</form>
				</div>
				<!-- /.box header -->
				<div class="box-body table-responsive">
					<div id="toolbar" class="btn-group">
						<a securitys:add id="btn_add" class="btn btn-default" onclick="operate.toAdd()">
							<i class="fa fa-plus" aria-hidden="true"></i>
							新增
						</a>
						</c:if>

						<a securitys:delete id="btn_delete" class="btn btn-danger" onclick="operate.batchDel();">
							<i class="fa fa-remove" aria-hidden="true"></i>
							选择删除
						</a>
					</div>
					<!-- /.toobar -->
					<table securitys:list id="table-data" data-toggle="table">
						<thead>
							<tr>
								<th data-checkbox="true"></th>
								<th data-field="id" data-halign="center" data-align="center">ID</th>
								<th data-field="title" data-halign="center" data-align="center">标题</th>
								<th data-field="brief" data-halign="center" data-align="center">简介</th>
								<th data-field="addDate" data-halign="center" data-formatter="formatter.datetime" data-sortable="true" data-align="center">添加时间</th>
								<th securitys:edit data-formatter="formatter.edit" data-events="tableEvent" data-halign="center" data-align="center">修改</th>
								<th securitys:delete data-formatter="formatter.del" data-events="tableEvent" data-halign="center" data-align="center">删除</th>
							</tr>
						</thead>
					</table>
					<!-- /.table -->
				</div>
				<!-- /.box-body -->
			</div>
			<!-- /.list -->
		</section>
		<!-- /.content -->
	</div>
	<!-- /.content-wrapper -->
	<div layout:fragment="page-js">
		<script src="/dist/js/pages/article/article-list.js"></script>
	</div>


</body>
</html>